package com.api.gbhg.liuwenbo.test;

import java.util.HashMap;
import java.util.Map;

public class a3_4 {
    public static void main(String[] args) {
        String a = new String("a");
        String aa = a+","+"asd";
        String b = "a"+","+"asd";
        System.out.println(aa.equals(b));
        Map<String,Object> map = new HashMap<>();
        map.put(aa,"123");
        map.put(b,"456");
        map.put(b,"789");
        System.out.println(map.get(b));

        Map<String,Object> maps = new HashMap<>();
        System.out.println(maps.isEmpty());
    }
}
